name:                funbot
version:             0.6
synopsis:            IRC bot for fun, learning, creativity and collaboration.
description:
  One day an idea came up on the #freepost IRC channel: We didn't need much of
  the serious features IRC bots provide, but we could develop an IRC bot
  collaboratively, for fun and for learning new skills and languages! I also
  thought this is a great chance for people to quickly see their code in real
  use, which is motivating when learning programming, and it's a chance to
  introduce Haskell to the community.
  .
  While the bot is made for and by the <https://freepo.st Freepost> community,
  it is fully intended for use any anyone else! For experienced Haskell
  developers, this bot can perhaps provide space for creativity and custom
  advanced plugins and features.
  .
  Since this bot is meant for collaborative development while really running
  it, the running instance in @#freepost@ is built from the git repository.
  Occasionally releases will be made to Hackage. If you want to be sure you
  have all the latest features, check out the git repository (and/or ask us to
  make a release if you think it's been long enough).
homepage:            https://notabug.org/fr33domlover/funbot
bug-reports:         https://notabug.org/fr33domlover/funbot/issues
license:             PublicDomain
license-file:        COPYING
author:              The Freepost community, see AUTHORS.md file
maintainer:          fr33domlover@riseup.net
copyright:           ♡ Copying is an act of love. Please copy, reuse and share.
category:            Network, IRC
build-type:          Simple
extra-source-files:
  AUTHORS.md
  ChangeLog
  COPYING
  INSTALL.md
  NEWS.md
  README.md
  config/db.yaml
  config/models
  state-default/settings.json
  state-default/state.json
  state-default/user-options.json
cabal-version:       >=1.10

source-repository head
  type:                git
  location:            https://notabug.org/fr33domlover/funbot.git

executable funbot
  main-is:             Main.hs
  other-modules:       Data.Char.Local
                     , Data.List.Local
                     , Data.Sequence.Util
                     , Database.Persist.Class.Local
                     , Database.Persist.Migration
                     , Database.Persist.Schema
                     , Database.Persist.Schema.PostgreSQL
                     , Database.Persist.Schema.Sql
                     , FunBot.Commands
                     , FunBot.Commands.Access
                     , FunBot.Commands.Channels
                     , FunBot.Commands.Feeds
                     , FunBot.Commands.History
                     , FunBot.Commands.Info
                     , FunBot.Commands.Locations
                     , FunBot.Commands.Memos
                     , FunBot.Commands.Misc
                     , FunBot.Commands.Puppet
                     , FunBot.Commands.Repos
                     , FunBot.Commands.Settings
                     , FunBot.Commands.Shortcuts
                     , FunBot.Commands.UserOptions
                     , FunBot.Config
                     , FunBot.ExtEvents
                     , FunBot.ExtHandlers
                     , FunBot.History
                     , FunBot.IrcHandlers
                     , FunBot.Locations
                     , FunBot.Memos
                     , FunBot.Migration
                     , FunBot.Model
                     , FunBot.Puppet
                     , FunBot.Settings
                     , FunBot.Settings.Help
                     , FunBot.Settings.Instances
                     , FunBot.Settings.MkOption
                     , FunBot.Settings.Sections
                     , FunBot.Settings.Sections.Access
                     , FunBot.Settings.Sections.Channels
                     , FunBot.Settings.Sections.DevHosts
                     , FunBot.Settings.Sections.Feeds
                     , FunBot.Settings.Sections.Locations
                     , FunBot.Settings.Sections.Repos
                     , FunBot.Settings.Sections.Shortcuts
                     , FunBot.Settings.Persist
                     , FunBot.Sources
                     , FunBot.Sources.FeedWatcher
                     , FunBot.Sources.Loopback
                     , FunBot.Sources.WebListener
                     , FunBot.Sources.WebListener.Client
                     , FunBot.Sources.WebListener.Gogs
                     , FunBot.Sources.WebListener.GitLab
                     , FunBot.Sources.WebListener.Util
                     , FunBot.Types
                     , FunBot.UserOptions
                     , FunBot.Util
                     , Network.IRC.Fun.Bot
                     , Network.IRC.Fun.Bot.Behavior
                     , Network.IRC.Fun.Bot.Chat
                     , Network.IRC.Fun.Bot.EventMatch
                     , Network.IRC.Fun.Bot.IrcLog
                     , Network.IRC.Fun.Bot.Logger
                     , Network.IRC.Fun.Bot.MsgCount
                     , Network.IRC.Fun.Bot.Nicks
                     , Network.IRC.Fun.Bot.State
                     , Network.IRC.Fun.Bot.Types
                     , Network.IRC.Fun.Bot.Internal.Chat
                     , Network.IRC.Fun.Bot.Internal.ChatExt
                     , Network.IRC.Fun.Bot.Internal.Event
                     , Network.IRC.Fun.Bot.Internal.Failure
                     , Network.IRC.Fun.Bot.Internal.History
                     , Network.IRC.Fun.Bot.Internal.Instances
                     , Network.IRC.Fun.Bot.Internal.IrcLog
                     , Network.IRC.Fun.Bot.Internal.Logger
                     , Network.IRC.Fun.Bot.Internal.Monad
                     , Network.IRC.Fun.Bot.Internal.MsgCount
                     , Network.IRC.Fun.Bot.Internal.Nicks
                     , Network.IRC.Fun.Bot.Internal.Persist
                     , Network.IRC.Fun.Bot.Internal.State
                     , Network.IRC.Fun.Bot.Internal.Types
                     , Web.Hook.GitLab
                     , Web.Hook.Gogs
                     , Web.Hook.Util
  --default-extensions:  TemplateHaskell
  --                     QuasiQuotes
  --                     MultiParamTypeClasses
  --                     TypeFamilies
  --                     NoMonomorphismRestriction
  --                     GADTs
  --                     GeneralizedNewtypeDeriving
  --                     TupleSections
  -- other-extensions:    
  build-depends:       aeson
                     , attoparsec
                     , attoparsec-time
                     , auto-update
                     , base                 >=4.7 && <5
                     , bytestring
                     , case-insensitive     >=1
                     , conduit
                     , clock                >=0.5
                     , containers           >=0.5
                     , data-default-class
                     , esqueleto
                     , fast-logger
                     , feed
                     , feed-collect         >=0.2.0.2
                     , formatting           >=6.2
                     , gitrev
                     , hashable
                     , HTTP
                     , http-client          >=0.4.19
                     , http-client-tls      >=0.2.2
                     , http-types
                     , irc-fun-client       >=0.5 && <0.6
                     , irc-fun-color        >=0.2.1 && <0.3
                     , irc-fun-types        <0.2
                     , json-state
                     , monad-control
                     , monad-logger
                     , network-uri
                     , persistent
                     , persistent-postgresql
                     , persistent-template
                     , settings             >=0.3
                     , tagsoup              >=0.13
                     , text
                     , time
                     , time-interval
                     , time-units
                     , transformers
                     , transformers-base
                     , unordered-containers >=0.2.5
                     , utf8-string          >=1
                     , wai
                     , wai-extra
                     , warp
                     , yaml
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:       -Wall
